package com.igeekhome.mapper;

import com.igeekhome.dto.WaybillRuleDto;
import com.igeekhome.pojo.WWaybillRule;
import com.igeekhome.pojo.WWaybillRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author 陈维豪
 */
public interface WWaybillRuleMapper {
    int countByExample(WWaybillRuleExample example);

    int deleteByExample(WWaybillRuleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WWaybillRule record);

    int insertSelective(WWaybillRule record);

    List<WWaybillRule> selectByExample(WWaybillRuleExample example);

    WWaybillRule selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WWaybillRule record, @Param("example") WWaybillRuleExample example);

    int updateByExample(@Param("record") WWaybillRule record, @Param("example") WWaybillRuleExample example);

    int updateByPrimaryKeySelective(WWaybillRule record);

    int updateByPrimaryKey(WWaybillRule record);


    List<WaybillRuleDto> listWaybillRuleDtos();

    int deleteByIdStr(String idsStr);
}